package com.example.xsssglxt.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("louyu")
@NoArgsConstructor
@EqualsAndHashCode
public class Louyu {
    @ExcelProperty(value = "主键",index = 0)
    private String id;
    @ExcelProperty(value = "创建时间",index = 6,converter = localtime.class)
    @ApiModelProperty(value = "创建时间，yyyy-MM-dd")
    private LocalDateTime create_time;
    @ExcelProperty(value = "更新时间",index = 7,converter = localtime.class)
    @ApiModelProperty(value = "更新时间，yyyy-MM-dd")
    private LocalDateTime update_time;
    @ExcelProperty(value="楼宇名", index = 1)
    private String name;
    @ExcelProperty(value="位置", index = 2)
    private String location;
    @ExcelProperty(value = "宿管ID",index = 3)
    private String domitoryid;

    @ExcelProperty(value="宿管编号", index = 4)
    private String domitorynumber;
    @ExcelProperty(value="宿管名称", index= 5)
    private String domitoryname;

}
